package nc.ui.cad.devforecast;

import nc.ui.cad.btnaction.ButtonCreaterFactory;
import nc.ui.cad.privatebtn.IFTButton;
import nc.ui.capub.baseui.AbstractBaseUI;
import nc.ui.capub.baseui.BaseEventHandle;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.bsdelegate.BDBusinessDelegator;
import nc.ui.trade.bsdelegate.BusinessDelegator;

public class DevforecastUI extends AbstractBaseUI {

	@Override
	protected BusinessDelegator createBusinessDelegator() {
		return new BDBusinessDelegator();
	}

	@Override
	public AbstractManageController createController() {
		return new DevforecastCtrl();
	}

	@Override
	public BaseEventHandle createEventHandler() {
		return new DevforecastEventHandler(this,this.getUIControl());
	}

	@Override
	public Object getUserObject() {
		return null;
	}

	protected void initPrivateButton() {
		addPrivateButton(ButtonCreaterFactory.getButtonVO(IFTButton.ALLMIGRATE));
	}
}
